package dao;

import org.apache.ibatis.annotations.Param;
import java.util.List;
import bean.pojo.GdCategory;

public interface GdCategoryMapper {

    int insert(@Param("pojo") GdCategory pojo);

    int insertList(@Param("pojos") List< GdCategory> pojo);

    List<GdCategory> select();

    GdCategory selectByCategoryId(@Param("categoryId") Long categoryId);

    List<GdCategory> selectAllBase ();

    int update(@Param("pojo") GdCategory pojo);

}
